#include "instrument.h"
using namespace std;

Instrument::Instrument(int channel, int portNum, const string &name)
     : m_channel(channel), m_portNum(portNum), m_name(name) {
}

Instrument::~Instrument() {
}

int Instrument::channel() const {
     return m_channel;
}

void Instrument::setChannel(int channel) {
     m_channel = channel;
}

int Instrument::portNum() const {
     return m_portNum;
}

void Instrument::setPortNum(int portNum) {
     m_portNum = portNum;
}

const string& Instrument::name() const {
     return m_name;
}

void Instrument::setName(const string &name) {
     m_name = name;
}
